package com.netease.nie.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.netease.nie.model.CreditHistory;

public interface CreditHistoryMapper {

	int insertCreditHistory(@Param(value = "creditHistory") CreditHistory creditHistory);

	List<CreditHistory> queryCreditHistoryByUserId(@Param(value = "userId") Long userId, @Param(value = "minGenerateDate") int minGenerateDate);

}